# tuple 元组  * 不允许修改 *

MYTUPLE = (1,2,3)
print(type(MYTUPLE))
WORDTUPLE = (6)
print(type(WORDTUPLE))

# 访问
print(MYTUPLE[0])

# 修改
# MYTUPLE[1] = 6
print(MYTUPLE)
# TypeError: 'tuple' object does not support item assignment

















